package com.youhong.teethcare.javabeans;

import java.io.Serializable;
import java.util.Calendar;

/**
 * Created by Administrator on 2018/4/12 0012.
 */

public class BrushingRecord implements Serializable {
    /*  String sql = "create table BrushingRecord(_id integer primary key autoincrement,_uid varchar," +
              "_startTime datetime," +
              "_totalTime INTEGER," +
              "_area1 INTEGER," +
              "_area2 INTEGER," +
              "_area3 INTEGER," +
              "_area4 INTEGER," +
              "_area5 INTEGER," +
              "_area6 INTEGER," +
              "_area7 INTEGER," +
              "_area8 INTEGER," +
              "_area9 INTEGER," +
              "_area10 INTEGER," +
              "_area11 INTEGER," +
              "_area12 INTEGER," +
              ")";*/
    private int id;
    private String uid;
    private Calendar startTime;
    private int totalTime;

    public static final int REAL_TIME_DATA = 0x0;
    public static final int ALL_DATA = 0x1;


    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    private int count;

    public int getSurfaceCount() {
        return surfaceCount;
    }

    public void setSurfaceCount(int surfaceCount) {
        this.surfaceCount = surfaceCount;
    }

    private int surfaceCount;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    //0:RealTimeData, 1:HistoryData.
    private int type;

    public int getPercent() {
        return percent;
    }

    public void setPercent(int percent) {
        this.percent = percent;
    }

    private int percent;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Calendar getStartTime() {
        return startTime;
    }

    public void setStartTime(Calendar startTime) {
        this.startTime = startTime;
    }

    //秒为单位
    public int getTotalTime() {
        return totalTime;
    }
    //秒为单位
    public void setTotalTime(int totalTime) {
        this.totalTime = totalTime;
    }

    public int getArea1() {
        return area1;
    }

    public void setArea1(int area1) {
        this.area1 = area1;
    }

    public int getArea2() {
        return area2;
    }

    public void setArea2(int area2) {
        this.area2 = area2;
    }

    public int getArea3() {
        return area3;
    }

    public void setArea3(int area3) {
        this.area3 = area3;
    }

    public int getArea4() {
        return area4;
    }

    public void setArea4(int area4) {
        this.area4 = area4;
    }

    public int getArea5() {
        return area5;
    }

    public void setArea5(int area5) {
        this.area5 = area5;
    }

    public int getArea6() {
        return area6;
    }

    public void setArea6(int area6) {
        this.area6 = area6;
    }

    /**
     *区域表 :
     * Area1 : 下门牙
     * Area2 : 上门牙
     * Area3 : 左下板牙
     * Area4 : 左上板牙
     * Area5 : 右下板牙
     * Area6 : 右上板牙
     * **/

    /**
     * 将相邻的刷牙区域关联起来用一个数据来表示,使用Bitmap 来映射
     * bit0 : 外部
     * bit1 : 中部
     * bit2 : 内部
     **/
    private int area1;
    private int area2;
    private int area3;
    private int area4;
    private int area5;
    private int area6;
    int brushMode;
    int brushLevel;

    public int getBrushLevel() {
        return brushLevel;
    }

    public void setBrushLevel(int brushLevel) {
        this.brushLevel = brushLevel;
    }

    public int getBrushMode() {
        return brushMode;
    }

    public void setBrushMode(int brushMode) {
        this.brushMode = brushMode;
    }
}
